package com.bangf.config;

/**
 * @deprecation: 请求状态码
 * @email: leichuqiao@126.com
 * @author: 雷楚桥
 * @date: 2018/7/23 14:59
 */
public class Code {

    public static final Integer NO_LIGHT = 4;           //无指示灯预警
    public static final Integer LIGHT = 3;              //有指示灯预警
    public static final Integer LOGINED = 2;            //已登陆
    public static final Integer SUCCESS = 1;            //请求成功
    public static final Integer ERROR = 0;              //请求失败
    public static final Integer NO_LOGIN = -1;          //未登录
    public static final Integer EXCEPTION = -2;         //请求异常
    public static final Integer NO_AUTH = -3;           //没有权限
    public static final Integer SEND_ERROR = -4;        //发送失败
    public static final Integer CODE_EXPIRE = -5;       //校验码过期
    public static final Integer CODE_ERROR = -5;        //校验码错误
    public static final Integer PARAM_LESS = -6;        //缺少请求参数
    public static final Integer PARAM_ERROR = -7;       //请求参数错误
    public static final Integer ACCOUNT_NOT_FIND = -8;  //登录账号不存在
    public static final Integer SIGN_ERROR = -9;        //签名错误
    public static final Integer FIND_DATA_FEILD = -10;  //请求数据失败
    public static final Integer TOWN_NOT_FIND = -11;    //乡镇不存在
    public static final Integer VILLAGE_NOT_FIND = -12; //村庄不存在
    public static final Integer OUT_OF_LENGTH = -13;    //长度超出

}
